from .application import create_app

app = create_app()


def main():
    app.run()


if __name__ == "__main__":
    try:
        import sys

        sys.exit(main())
    except Exception as error:
        import traceback

        traceback.print_exc(error)
